﻿@model SportsStore.Domain.Entities.Product

<div data-role="collapsible" data-collapsed="false" data-content-theme="c">
    <h2>@Model.Name</h2>
    <div class="ui-grid-b">
        <div class="ui-block-a">
            @Model.Description
        </div>
        <div class="ui-block-b">
            <strong>(@Model.Price.ToString("c"))</strong>
        </div>
        <div class="ui-block-c">
            @using (Html.BeginForm("AddToCart", "Cart"))
            {
                @Html.HiddenFor(x=>x.ProductID)
                @Html.Hidden("returnUrl",Request.Url.PathAndQuery)
                <input type="submit" data-inline="true" data-mini="true" value="ADD to cart购物车移动版"/>

            }
        </div>
    </div>

</div>